package com.yulan.bankback.entity.model.bank;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Coupon {

    @TableId
    private String id;

    private String type;

    private Integer count;

    private Date startTime;

    private Date endTime;

    private Date OverdueTime;

    private String couponName;

    private Double discount;

    private String couponType;

    @TableField(exist = false)
    private String viewStartTime;

    @TableField(exist = false)
    private String viewEndTime;

    @TableField(exist = false)
    private String viewOverdueTime;

}
